//
//  GDTrainInformationModel.h
//  GraduationDesign
//
//  Created by JiaKang.Zhong on 16/1/7.
//  Copyright © 2016年 JiaKang.Zhong. All rights reserved.
//


/**
 *  列车的详细信息模型
 */
#import <Foundation/Foundation.h>
#import "GDTrainTicketModel.h"

@interface GDTrainInformationModel : NSObject

/*      列车信息    */
/**
 *  车次
 */
@property (nonatomic,strong) NSString * train_no;


/**
 *  车型
 */
@property (nonatomic,strong) NSString * train_class_name;

/**
 *  开始站
 */
@property (nonatomic,strong) NSString * start_station_name;

/**
 *  终点站
 */
@property (nonatomic,strong) NSString * end_station_name;

/**
 *  发车时间
 */
@property (nonatomic,strong) NSString * start_time;

/**
 *  到站时间
 */
@property (nonatomic,strong) NSString * arrive_time;




/*        余票信息      */

/**
 *  高级软卧
 */
@property (nonatomic,strong) NSString * gr_num;
/**
 *  其他
 */
@property (nonatomic,strong) NSString * qt_num;
/**
 *  软卧
 */
@property (nonatomic,strong) NSString * rw_num;
/**
 *  软座
 */
@property (nonatomic,strong) NSString * rz_num;
/**
 *  特等座
 */
@property (nonatomic,strong) NSString * tz_num;
/**
 *  无座
 */
@property (nonatomic,strong) NSString * wz_num;
/**
 *  硬卧
 */
@property (nonatomic,strong) NSString * yw_num;
/**
 *  硬座
 */
@property (nonatomic,strong) NSString * yz_num;
/**
 *  二等座
 */
@property (nonatomic,strong) NSString * ze_num;
/**
 *  一等座
 */
@property (nonatomic,strong) NSString * zy_num;
/**
 *  商务座
 */
@property (nonatomic,strong) NSString * swz_num;


/**
 *  剩余的票价信息
 */
@property (nonatomic,strong) NSArray * existTicketArray;
@property (nonatomic,strong) GDTrainTicketModel * model;




+(instancetype) trainInformationWithDic:(NSDictionary *) dic;

-(instancetype) initTrainInformationWithDic:(NSDictionary *) dic;

@end
